import 'package:get/get.dart';
import 'message_center_view.dart';
import 'message_center_logic.dart';
import 'application_detail_view.dart';
import 'application_detail_logic.dart';

/// 消息中心模块路由配置
class MessageCenterRoutes {
  /// 消息中心
  static const String messageCenter = '/message-center';
  
  /// 申请详情
  static const String applicationDetail = '/application-detail';

  static final List<GetPage> routes = [
    GetPage(
      name: messageCenter,
      page: () => const MessageCenterView(),
      binding: BindingsBuilder(() {
        Get.lazyPut<MessageCenterLogic>(() => MessageCenterLogic());
      }),
    ),
    GetPage(
      name: applicationDetail,
      page: () => const ApplicationDetailView(),
      binding: BindingsBuilder(() {
        Get.lazyPut<ApplicationDetailLogic>(() => ApplicationDetailLogic());
      }),
    ),
  ];
}
